package com.liuche.homechat.common.user.service;

import me.chanjar.weixin.common.bean.WxOAuth2UserInfo;
import me.chanjar.weixin.common.session.WxSessionManager;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage;
import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage;

import java.util.Map;

public interface WXMsgService {
    WxMpXmlOutMessage handleScan(WxMpXmlMessage wxMpXmlMessage, Map<String, Object> map,
                                 WxMpService wxMpService, WxSessionManager wxSessionManager);

    /**
     * 为用户注册进行授权
     * @param zhCn
     */
    void registryAuthorize(WxOAuth2UserInfo zhCn);
}
